package org.gw.ylc.base.data;

import java.util.List;

public class Condition {
	public String field;
	public String operator;
	public Object[] value;
	public List<Condition> subConditions;
	public String logical;

	public Condition() {
		super();
	}

	public Condition(String field, String operator, Object[] value, List<Condition> subConditions, String logical) {
		super();
		this.field = field;
		this.operator = operator;
		this.value = value;
		this.subConditions = subConditions;
		this.logical = logical;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Object[] getValue() {
		return value;
	}

	public void setValue(Object[] value) {
		this.value = value;
	}

	public List<Condition> getSubConditions() {
		return subConditions;
	}

	public void setSubConditions(List<Condition> subConditions) {
		this.subConditions = subConditions;
	}

	public String getLogical() {
		return logical;
	}

	public void setLogical(String logical) {
		this.logical = logical;
	}

}
